package casa.depesos.app.com.http.bean;

import android.text.TextUtils;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import casa.depesos.app.com.http.BaseBean;
import casa.depesos.app.com.http.data.Ip;

public class IpBean extends BaseBean {

    @SerializedName("dataRecord")
    @Expose
    public Ip ip;

    @Override
    public boolean showErrMsg() {
        return false;
    }

    @Override
    public boolean isValid() {
        return super.isValid() && ip != null && !TextUtils.isEmpty(ip.ip);
    }
}
